home *** CD-ROM | disk | FTP | other *** search
/ Enciclopedia Del Perro / Enciclopedia Del Perro.iso / info31 / ansi-sys.ky_ / ansi-sys.ky
Text File  |  1994-03-10  |  3KB  |  110 lines

  1. # Redefine the set-up key (F10) to be CTL-]
  2. 2, 0x1b, 0x70a
  3. # When the ALT key is pressed send a NULL followed by the scan code 
  4. 4, 0x1e, "\x00\x1e"    /* ALT a
  5. 4, 0x30, "\x00\x30"    /* ALT b
  6. 4, 0x2e, "\x00\x2e"    /* ALT c
  7. 4, 0x20, "\x00\x20"    /* ALT d
  8. 4, 0x12, "\x00\x12"    /* ALT e
  9. 4, 0x21, "\x00\x21"    /* ALT f
  10. 4, 0x22, "\x00\x22"    /* ALT g
  11. 4, 0x23, "\x00\x23"    /* ALT h
  12. 4, 0x17, "\x00\x17"    /* ALT i
  13. 4, 0x24, "\x00\x24"    /* ALT j
  14. 4, 0x25, "\x00\x25"    /* ALT k
  15. 4, 0x26, "\x00\x26"    /* ALT l
  16. 4, 0x32, "\x00\x32"    /* ALT m
  17. 4, 0x31, "\x00\x31"    /* ALT n
  18. 4, 0x18, "\x00\x18"    /* ALT o
  19. 4, 0x19, "\x00\x19"    /* ALT p
  20. 4, 0x10, "\x00\x10"    /* ALT q
  21. 4, 0x13, "\x00\x13"    /* ALT r
  22. 4, 0x1f, "\x00\x1f"    /* ALT s
  23. 4, 0x14, "\x00\x14"    /* ALT t
  24. 4, 0x16, "\x00\x16"    /* ALT u
  25. 4, 0x2f, "\x00\x2f"    /* ALT v
  26. 4, 0x11, "\x00\x11"    /* ALT w
  27. 4, 0x2d, "\x00\x2d"    /* ALT x
  28. 4, 0x15, "\x00\x15"    /* ALT y
  29. 4, 0x2c, "\x00\x2c"    /* ALT z
  30.  
  31. # Now map the function keys F1-F10 to send null, then their scan code
  32. 0, 0x3b, "\x00\x3b"    /* F1 
  33. 0, 0x3c, "\x00\x3c"    /* F2
  34. 0, 0x3d, "\x00\x3d"    /* F3
  35. 0, 0x3e, "\x00\x3e"    /* F4
  36. 0, 0x3f, "\x00\x3f"    /* F5
  37. 0, 0x40, "\x00\x40"    /* F6
  38. 0, 0x41, "\x00\x41"    /* F7
  39. 0, 0x42, "\x00\x42"    /* F8
  40. 0, 0x43, "\x00\x43"    /* F9
  41. 0, 0x44, "\x00\x44"    /* F10
  42.  
  43. # Function keys plus SHIFT
  44. 1, 0x3b, "\x00\x54"    /* F1 
  45. 1, 0x3c, "\x00\x55"    /* F2
  46. 1, 0x3d, "\x00\x56"    /* F3
  47. 1, 0x3e, "\x00\x57"    /* F4
  48. 1, 0x3f, "\x00\x58"    /* F5
  49. 1, 0x40, "\x00\x59"    /* F6
  50. 1, 0x41, "\x00\x5a"    /* F7
  51. 1, 0x42, "\x00\x5b"    /* F8
  52. 1, 0x43, "\x00\x5c"    /* F9
  53. 1, 0x44, "\x00\x5d"    /* F10
  54.  
  55. # Function keys plus CTL
  56. 2, 0x3b, "\x00\x5e"    /* F1 
  57. 2, 0x3c, "\x00\x5f"    /* F2
  58. 2, 0x3d, "\x00\x60"    /* F3
  59. 2, 0x3e, "\x00\x61"    /* F4
  60. 2, 0x3f, "\x00\x62"    /* F5
  61. 2, 0x40, "\x00\x63"    /* F6
  62. 2, 0x41, "\x00\x64"    /* F7
  63. 2, 0x42, "\x00\x65"    /* F8
  64. 2, 0x43, "\x00\x66"    /* F9
  65. 2, 0x44, "\x00\x67"    /* F10
  66.  
  67. # Function keys plus ALT
  68. 4, 0x3b, "\x00\x68"    /* F1 
  69. 4, 0x3c, "\x00\x69"    /* F2
  70. 4, 0x3d, "\x00\x6a"    /* F3
  71. 4, 0x3e, "\x00\x6b"    /* F4
  72. 4, 0x3f, "\x00\x6c"    /* F5
  73. 4, 0x40, "\x00\x6d"    /* F6
  74. 4, 0x41, "\x00\x6e"    /* F7
  75. 4, 0x42, "\x00\x6f"    /* F8
  76. 4, 0x43, "\x00\x70"    /* F9
  77. 4, 0x44, "\x00\x71"    /* F10
  78.  
  79. # Add re-maps for the second set of keys on arrow keys, pg up, etc..
  80. 0, 0xa8, "\x00\x48"    /* up arrow
  81. 0, 0xb0, "\x00\x50"    /* down arrow 
  82. 0, 0xab, "\x00\x4b"    /* left arrow
  83. 0, 0xad, "\x00\x4d"    /* right arrow 
  84. 0, 0xa7, "\x00\x47"    /* home key
  85. 0, 0xb2, "\x00\x52"    /* insert key
  86. 0, 0xa9, "\x00\x49"    /* page up
  87. 0, 0xb3, "\x00\x53"    /* delete key
  88. 0, 0xaf, "\x00\x4f"    /* end key
  89. 0, 0xb1, "\x00\x51"    /* page down
  90.  
  91. # CTL plus Pg Up, left arrow, right arrow, end
  92. 2, 0xa9, "\x00\x84"    /* page up
  93. 2, 0xab, "\x00\x73"    /* left arrow
  94. 2, 0xad, "\x00\x74"    /* right arrow 
  95. 2, 0xaf, "\x00\x75"    /* end key
  96. 2, 0xb1, "\x00\x76"    /* page down
  97.  
  98. # Shift plus for second set of keys  
  99. 1, 0xa7, 0x37         /* home key
  100. 1, 0xa8, 0x38          /* up arrow
  101. 1, 0xa9, 0x39         /* page up
  102. 1, 0xab, 0x34         /* left arrow
  103. 1, 0xad, 0x36         /* right arrow 
  104. 1, 0xaf, 0x31         /* end key
  105. 1, 0xb0, 0x32         /* down arrow 
  106. 1, 0xb1, 0x33         /* page down
  107. 1, 0xb2, 0x30         /* insert key
  108. 1, 0xb3, 0x2e         /* delete key
  109.  
  110.